#include "singleton.h"
#include <stdexcept>
#include <string>
#include <typeinfo>

using namespace std;

template<typename T>
T* Singleton<T>::createInstance() {
	throw logic_error(string("Cannot find implementation for interface: ") + typeid(T).name());
}
